<?php
namespace common\modules\storage\backend\models;

use common\core\config\ConfigForm;

class QiniuConfigForm extends ConfigForm
{
    public $qiniu_domain;
    
    public $qiniu_bucketName;
    
    public $qiniu_accessKey;

    public $qiniu_secretKey;

    public function rules()
    {
        return [
            [
                [
                    'qiniu_domain',
                    'qiniu_bucketName',
                    'qiniu_accessKey',
                    'qiniu_secretKey'
                    
                ],
                'string'
            ]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'qiniu_domain' => '域名',
            'qiniu_bucketName' => '空间',
            'qiniu_accessKey' => '公钥',
            'qiniu_secretKey' => '私钥'
        ];
    }
}